<!--steop1: pop1 select goal name-->
<!--
<div style="display:none">
	<div id="pop1" class="pop">
    	<div class="slogan">
    		<h1>Achieve Your Next Fitness Goal</h1>
        </div>
        <div class="links">
            <&foreach item=gen_goal from=$gen_goal_list name=gen_goal_list&>
            	<p><a href="#pop2" class="show_pop2" id="<&$gen_goal.id&>"><&$gen_goal.goal_name&></a></p>
            <&/foreach&>
            <a href="#pop2" class="show_pop2" id="goal_name_tab" style="display:none"></a>
            <a href="#pop3" class="show_pop3" id="pop3_window_tab" style="display:none"></a>
                <p><a href="#nogo" class="g show_goal_text">Click here to write your own goal</a><input type="text" class="text-box420"  style="display:none; float:left"/><a href="#nogo" class="sub" style="display:none">GO</a></p>
         </div>
    </div>
</div>
-->

<div style="display:none">
	<div id="pop1" class="pop">
        <div class="slogan">
    		<h1><a href="javascript:void();" >Hire trainer online, train offline</a></h1>
            <h3>Train at your own budget and time by letting trainers bid for your business</h3>
        </div>
        <div class="box1">
        	<div class="askbox">
            	<input type="text" />
                <a href="#nogo" class="gn_submit"></a>
            </div>
        </div>
    </div>
</div>
<a href="#pop2" class="show_pop2" id="goal_name_tab" style="display:none"></a>
<a href="#pop3" class="show_pop3" id="pop3_window_tab" style="display:none"></a>
<input type="hidden" name="submit_goal_name" id="submit_goal_name" />
<!--end pop1-->

<!--step2: post goal -->
<div style="display:none">
	<div id="pop2" class="pop">
		<div class="slogan">
        	<h1>Describe your immediate training needs</h1>
            <h2><span id="post_goal_name"><&$goal_name&></span></h2>
       	</div>
        <div class="form-box">
        	<form>	
            <div class="form-text-box"><b>*Name your own training budget</b> <b>&nbsp;&nbsp;&nbsp;&nbsp;$</b><input type="text"  class="text-box135 cen" id="s2_budget"/></div>
         
            <div class="form-text-box" style="padding-bottom:0px"><b>More details:</b></div>
            <div class="form-textarea-box">
            	<textarea name="content" id="content"></textarea>
            	<div><span>(Invite friends & family t be your cheerleaders by posting to:)</span> <label class="check-box check-false" id="fb_conntected"><a href="#nofo" class="to-f"><s></s>Facebook</a></label>
                <!--<label class="check-box check-true"><a href="#nofo" class="to-t" id="tw_connected"><s></s>Twitter</a></label>--></div>
            </div>
            <div class="form-submit-box">
            	<input id="goal_submit" type="button" value="Submit" class="submit-this-form"/>
            </div>
            </form>
        </div>
    </div>
</div>
<!--step2 end-->

<!--step3: hire trainer-->
<div style="display:none">
	<div id="pop3" class="pop">
    	<div class="slogan">
    		<h1>Get a FREE private training lesson, consultation session</h1>
            <div class="user-face"><img src="<&$web_site&>/<&$user.thumb_photo&>" id="pop3_face"/><span id="pop3_username"><&$user.firstname&> <&$user.lastname&></span></div>
            <h2 id="pop3_firstname">Thanks, <&$user.firstname&></h2>
			<h4>Your fitness goal has been created successfully</h4>
        </div>
        <div class="form-box">
        <form>
        	<table class="leftright-box" border="0" cellpadding="0" cellspacing="0"><tr>
            	<td class="left-box">
                	<strong><span>*</span>Types of trainer you might be interested in?</strong>
                </td>
                <td class="right-box">
                	<strong><span>*</span>Trainer's gender</strong>                   
                </td>
            </tr><tr>
            	<td id="trainer_type_list">
                    <&foreach item=trainer_type from=$trainer_type_list name=trainer_type_list&>
                	<p><label class="check-box check-false" id="<&$trainer_type.id&>"><span ><&$trainer_type.trainer_name&></span></label></p>
                    <&/foreach&>
                    
                </td>
                <td id="gender_list">
                	<p><label class="check-box check-true" id="1"><span>Male</span></label></p>
                    <p><label class="check-box check-false" id="2"><span>Female</span></label></p>
                </td>
            </tr></table>
            
            <div class="budget" style="display:none">
            	<strong><span>*</span>What is your training budget, roughly?</strong>
                <span>(If you are open to hire trainer)</span>
            	<div><b>$</b><input type="text"  class="text-box210" id="budget" value="100"/></div>
            </div>
            <div class="comtact">
            	<b>My contact number:</b><input type="text"  class="text-box470" id="contact_phone"/>
                <span>(You number will only be shown to professional trainers who have successfully bid for your goal)</span>
            </div>
            <div class="form-submit-box">
            	<a href="#nogo" class="close"  id="hiretrainer_close">Cancel</a><input name="" type="button" value="Save" class="submit-this-form" id="trainerhire_submit"/>
            </div>
        </form>    	
        </div>
    </div>
</div>
<!--end of step3-->
<a href="#pop2" id="gen_goal_id" style="display:none"><&if $ggid&><&$ggid&><&else&>0<&/if&></a>
<input type="hidden" id="goal_name" value="<&$goal_name&>" />
<input type="hidden" name="post_age_id" id="post_age_id" value="<&$user.age_id&>" />
<input type="hidden" name="post_body_id" id="post_body_id" value="<&$user.body_id&>" />
<input type="hidden" name="post_area_id" id="post_area" value="<&$user.area_id&>" />
<!--pop_over-->


<&if !$no_login_pop&>
<!--login pop-->
<div style="display:none">
	<div id="pop-login" class="pop" style="float:left">     
    	 <div class="join_login" style="border:none">
            <h1>Get started!</h1>
            <div class="left">
            	<strong>Why join fitwow?</strong>
                <b>For non fitness pro</b>
                <p>Fitwow brings you free personal training, social support to reach your next fitness goals</p>
                <b>For fitness, wellness pro</b>
                <p>Fitwow brings you potential clients</p>
            </div>
            <div class="right">
            	<&include file="include/facebook_login.tpl"&>
                
                <&include file="include/common_login.tpl"&>
            </div>
        </div>
    </div>
</div>
<a href="#pop-login" class="show_login" style="display:none" id="pop_login_ctrl"></a>
<!--end of pop login-->

<!--pop join-->
<div style="display:none">
	<div id="pop-join" class="pop" style="float:left"> 
        <div class="join_login" style="border:none">
            <h1>Get started!</h1>
            <div class="left">
            	<strong>Why join fitwow?</strong>
                <b>For non fitness pro</b>
                <p>Fitwow brings you free personal training, social support to reach your next fitness goals</p>
                <b>For fitness, wellness pro</b>
                <p>Fitwow brings you potential clients</p>
            </div>
            <div class="right">
            	<&include file="include/facebook_login.tpl" facebook_join="1"&>
                
                <&include file="include/common_join.tpl"&>
            </div>
        </div>
	</div>
</div>
<a href="#pop-join" class="show_join" style="display:none" id="pop_join_ctrl"></a>
<!--end of pop join-->
<&/if&>

<div style="display:none;">
  <div id="pop5" class="pop">
   	<h1>Goal: <&if $goal.gen_goal_id == 0&><&$goal.goal_name&><&else&><&$objConfigModel->getGenGoal($goal.gen_goal_id)&><&/if&><i><a href="/goal/detail/gid/<&$goal.id&>">View goal detail</a></i></h1>
      <span>Get cheers and advice by sending this link to anyone you wish to share: <&$web_site&>/goal/detail/gid/<&$goal.id&></span>
      <table cellpadding="0" cellspacing="0" border="0" >
       	  <tr><td class="w280"><input type="text" value="" id="email0"/></td><td rowspan="5" class="w205"><label id="email_invite" gid="<&$goal.id&>">Invite by e-mail</label></td><td rowspan="5" class="w230"><a href="#nogo" class="share-f" gid="<&$goal.id&>" goal_name="<&if $goal.gen_goal_id == 0&><&$goal.goal_name&><&else&><&$objConfigModel->getGenGoal($goal.gen_goal_id)&><&/if&>"></a><!--<a href="#nogo" class="share-t"></a>--></td></tr>
          <tr><td><input type="text" value="" id="email1"/></td></tr>
          <tr><td><input type="text" value="" id="email2"/></td></tr>
          <tr><td><input type="text" value="" id="email3"/></td></tr>
          <tr><td><input type="text" value="" id="email4"/></td></tr>
      </table>
    </div>
</div>
<a href="#pop5" class="show_pop5" style="display:none" id="show_pop5_ctrl"></a>
<!---->


<!--footer-->
	<div id="footer">
    	<p><a href="/index/about">About</a><a href="/index/contact">Contact</a><a href="http://blog.fitwow.com">Blog</a><a href="/index/term">Term of use</a><a href="/index/how">How It Works</a><a href="/index/privacy">Privacy Policy</a></p>
        <div class="out-link"><a href="http://www.facebook.com/pages/FitWowcom/231125290260928" class="to-f">Facebook</a><a
        href="https://twitter.com/#!/thefitwow" class="to-t">Twitter</a></div>
        <span>@Fitwow Inc.</span>
    </div>
<!--footer_over-->

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
<&if $page_js &>
<script type="text/javascript" src="<&$web_site&>/js/<&$page_js&>"></script>
<&/if&>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script> 
<script type="text/javascript" src="<&$web_site&>/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<&$web_site&>/js/fb.js"></script>
<script type="text/javascript" src="/js/common.js" ></script>
<script type="text/javascript" src="<&$web_site&>/js/user.js"></script>

<&if !$no_login_pop&>
<script type="text/javascript" src="<&$web_site&>/js/login.js"></script>
<&/if&>
</body>
</html>
